13.9.  Maze

Revision History
Revision $Revision: 1738 $ 2006-12-18 j.h

13.9.1.  Overview

Figure 16.239.  An example of a rendered maze.

An example of a rendered maze.
An example of a rendered maze.

You can find this filter in the image menu through Filters → Render → Pattern → Maze

This filter generates a random black and white maze pattern. The result completely overwrites the previous contents of the active layer. A typical example is shown below. Can you find the route from the center to the edge?

13.9.2.  Options

Figure 16.240.  “Maze” filter options

Maze filter options

Width/Height

The Width and Height sliders control how many pathways the maze should have. The lower the values for width and height, the more paths you will get. The same happens if you increase the number of pieces in the Width and Height Pieces fields. The result won't really look like a maze unless the width and height are equal.

Tileable

If you want to use it in a pattern, you can make the maze tileable by checking this check-button.

Seed

You can specify a seed for the random number generator, or ask the program to generate one for you. Unless you need to later reproduce exactly the same maze, you might as well have the program do it.

Algorithm

You can choose between two algorithms for maze, Depth First and Prim's Algorithm. Only a computer scientist can tell the difference between them.